using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using EZCRS.HCMS.DataAcl;
using EZCRS.HCMS.Bll.baseinfo;

namespace EZCRS.HCMS.Web.manage.module
{
    public partial class module_list : ManageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                CheckModule(6);

                int ParentId = CFun.RequestNumber("parentid");

                BllModule AM = new BllModule();

                gvList.DataSource = AM.Module_List(ParentId.ToString(),0);
                gvList.DataBind();

                Titlepage1.initlabnew = "<a href=\"module_add.aspx?parentid="+ParentId.ToString()+"\"><img src=\"../../image/new.gif\" border=0></a> ";
            }
        }
    }
}
